 import java.util.Random;

 public class PP38
 {
    public static void main(String[] args)
    {
       Random generator = new Random();
       int angle;
       double cos, sin, tan;
     
       angle = generator.nextInt(21) + 20;
       
       cos = Math.cos (angle);
       sin = Math.sin (angle);
       tan = Math.tan (angle);

       System.out.println("angle=" + angle);
       System.out.println("cos=" + cos);
       System.out.println("sin=" + sin);
       System.out.println("tan=" + tan);
     }
 }
